package com.zl.basis.component;

import android.content.Context;
import android.content.Intent;
import android.provider.Settings;

public class ActivityUtil {
    public static void gotoNewActivity(Context mContext, Class cls) {
        Intent intent = new Intent(mContext, cls);
        mContext.startActivity(intent);
    }

    public static void gotoSysSetting(Context mContext) {
        Intent intent = new Intent(Settings.ACTION_SETTINGS);
        mContext.startActivity(intent);
    }
}
